package com.zhengtoudai.ui.view;

import com.zhengtoudai.ui.bean.Result;

/**
 *
 * 通用的View接口
 */

public interface CommonView<T> extends BaseView {

    void showDialog();

    void onResult(Result<T> result);

    void onFailure(Throwable e);

    void dismissDialog();
}
